package com.mingdong.third.zhuangshi;

public class Choclate extends Drink {

	public Choclate(String name, Drink drink,double cost) {
		super(name, drink, cost);
	}

	@Override
	public double getCost() {
		return this.drink.getCost()+this.cost;
	}

}
